package com.zhitong.money.services.api;


import com.github.pagehelper.PageInfo;
import com.zhitong.money.entity.Position;


import java.util.List;
import java.util.Map;

public interface IPositionService {

    public List<Position> findPositionByDid(String did) throws Exception;

    public List<Position> findNonPosition(String did) throws Exception;

    public List<Position> findAllPosition() throws Exception;


    public PageInfo findPositionByPage(Map<String,Object> map) throws Exception;

    public List<Position> findPositionByMap(Map<String,Object> map) throws Exception;

    public List<Position> findPositionByNoInIds(List<String> ids) throws Exception;

    public Position findPositionById(String id) throws Exception;

    public void addPosition(Position position)throws Exception;

    public void updatePosition(Position position)throws Exception;

    public int delPositionById(String id) throws Exception;

    public int delPositionsByIds(List<String> ids) throws Exception;
}
